/*
 * Debts Manager. Simple android application for managing debts.
 * Copyright (C) 2010 Maxim Manuylov
 *
 * This program is free software: you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published by
 * the Free Software Foundation, either version 2 of the License, or
 * (at your option) any later version.
 *
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 *
 * You should have received a copy of the GNU General Public License
 * along with this program.  If not, see <http://www.gnu.org/licenses/gpl-2.0.html>.
 */

package manuylov.maxim.dm;

public final class Constants {
    public static final String VERSION = "0.9.1";

    public static final String ACTION_NEW_RECORD = "manuylov.maxim.dm.intent.NEW_RECORD";
    public static final String ACTION_VIEW_GROUPED_BALANCE = "manuylov.maxim.dm.intent.VIEW_GROUPED_BALANCE";
    public static final String ACTION_VIEW_BALANCE_BY_PERSON = "manuylov.maxim.dm.intent.VIEW_BALANCE_BY_PERSON";
    public static final String ACTION_CHANGE_SETTINGS = "manuylov.maxim.dm.intent.CHANGE_SETTINGS";

    public static final String NEW_RECORD_TYPE = "manuylov.maxim.dm.NewRecord.newRecordType";
    public static final String ACTIVITY_LABEL_TEXT = "manuylov.maxim.dm.NewRecord.activityLabelText";
    public static final String TO_FROM_LABEL_TEXT = "manuylov.maxim.dm.NewRecord.toFromLabelText";

    public static final String PERSON_ID = "manuylov.maxim.dm.BalanceByPerson.personId";
    public static final String PERSON_NAME = "manuylov.maxim.dm.BalanceByPerson.personName";

    public static final String BALANCE_MODE = "manuylov.maxim.dm.balance.balanceMode";

    public static final int BALANCE_MODE_ACTUAL = 0;
    public static final int BALANCE_MODE_HISTORY = 1;

    public static final String PREFERENCES_FILE_NAME = "dmPreferences";

    public static final String DEFAULT_PERSON = "manuylov.maxim.dm.preferences.defaultPerson";
    public static final String DEFAULT_SUBJECT = "manuylov.maxim.dm.preferences.defaultSubject";

    public static final int PERSON = 0;
    public static final int SUBJECT = 1;

    public static final int BORROW = 0;
    public static final int LEND = 1;
    public static final int NONE = 2;

    public static final int REQUEST_DEFAULT = 0;

    public static final int RESULT_NEED_TO_RELOAD_DATA = -97;
    public static final int RESULT_GO_TO_HOME = -98;
    public static final int RESULT_CHAIN_FINISH = -99;

    public static final int NO_VALUE = -1;

    public static final int DIALOG_QUANTITY = 0;
    public static final int DIALOG_COMMENT = 1;
}
